#include <stdio.h>
/**
 *  1.数组名是常量,不能修改
 *  2.数组名是数组首元素地址
 *  3.sizeof(数组名) 测数组总大小
 *  4.元素个数:总大小/某个元素大小
 */
int main(int argc, char const *argv[])
{
	int a[10];
	//2.
	printf("a= %p,&a[0] = %p\n",a,&a[0] );
	//3.
	printf("sizeof(a) = %lu\n", sizeof(a));
	//4.
    int n = sizeof(a)/sizeof(a[0]);
    printf("%d\n",n );
    int b[]={1,2,3,5,6,4,4,6,9,7,7,3,7,0,0,9,0};
    int m = sizeof(b)/sizeof(b[0]);
    printf("%d\n",m);

	return 0;
}